package cs3343.project.family;

/**
 * The Class Role.
 */
public class Role {
	
	/** The id. */
	private int id;
	
	/** The role. */
	private String roleName;
	
	/** The name. */
	private String effectName;
	
	/** The description. */
	private String description;
	
	/** The init esteem. */
	private int initEsteem;
	
	/** The is assigned. */
	private boolean isAssigned;
	
	/**
	 * Instantiates a new role.
	 *
	 * @param id the id
	 * @param role the role
	 * @param name the name
	 * @param description the description
	 * @param initEsteem the init esteem
	 */
	public Role(int id, String role, String name, String description, int initEsteem) {
		this.id = id;
		this.roleName = role;
		this.effectName = name;
		this.description = description;
		this.initEsteem = initEsteem;
		this.isAssigned = false;
	}

	/**
	 * Gets the id.
	 *
	 * @return the id
	 */
	public int getId() {
		return id;
	}

	/**
	 * Sets the id.
	 *
	 * @param id the new id
	 */
	public void setId(int id) {
		this.id = id;
	}

	/**
	 * Gets the name.
	 *
	 * @return the name
	 */
	public String getEffectName() {
		return effectName;
	}

	/**
	 * Sets the name.
	 *
	 * @param name the new name
	 */
	public void setEffectName(String name) {
		this.effectName = name;
	}

	/**
	 * Gets the description.
	 *
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}

	/**
	 * Sets the description.
	 *
	 * @param description the new description
	 */
	public void setDescription(String description) {
		this.description = description;
	}

	/**
	 * Gets the role.
	 *
	 * @return the role
	 */
	public String getRoleName() {
		return roleName;
	}

	/**
	 * Sets the role.
	 *
	 * @param role the new role
	 */
	public void setRoleName(String role) {
		this.roleName = role;
	}
	
	/**
	 * Gets the checks if is assigned.
	 *
	 * @return the checks if is assigned
	 */
	public boolean getIsAssigned() {
		return isAssigned;
	}

	/**
	 * Sets the checks if is assigned.
	 *
	 * @param isAssigned the new checks if is assigned
	 */
	public void setIsAssigned(boolean isAssigned) {
		this.isAssigned = isAssigned;
	}

	/**
	 * Gets the inits the esteem.
	 *
	 * @return the inits the esteem
	 */
	public int getInitEsteem() {
		return initEsteem;
	}

	/**
	 * Sets the inits the esteem.
	 *
	 * @param initEsteem the new inits the esteem
	 */
	public void setInitEsteem(int initEsteem) {
		this.initEsteem = initEsteem;
	}

}
